//
//  Regular_View.m
//  penzer
//
//  Created by caiyc on 2018/10/6.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "Regular_View.h"

@implementation Regular_View

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(void)layoutSubviews{
    [super layoutSubviews];
    self.layer.cornerRadius = 5;
    self.layer.shadowColor = [UIColor blackColor].CGColor;
    self.layer.shadowRadius = 3;
    self.layer.shadowOpacity = 0.2;
    self.layer.shadowOffset= CGSizeMake(0, -1);
}
@end
